from rest_framework import serializers
from personalCenter.models import RealNameAuthentication

class RealNameAuthenticationSerializer(serializers.ModelSerializer):
    class Meta:
        model = RealNameAuthentication
        fields = ['id', 'user_id', 'face_recognition_image', 'id_card_image', 'name', 'identification_number', 'is_approved']
